<template>
  <header class="main-header">
    <!-- Logo -->
    <a id="logo" class="logo" title="点击回到首页"><span class="logo-lg">业务门户平台</span></a>
    <nav class="navbar navbar-static-top">

      <!-- 综合查询 -->
      <selemenuboxCom
        @search-null="showSearchNull"
        @search-order="getOrderInfo"
        @search-WaybillNoReultDto="getWaybillNoReultDto"
        @get-wayBIllNoLocusList="getWayBIllNoLocusList"
        @get-trackRecordList="getTrackRecordList"
        @get-multiplegj="getMultiplegj"
        @get-multiplegzjlfoss="getGzjlmultiple"
        @get-deptThreeContent="getDeptThreeContent"
        @get-personAddressListInfo="getPersonAddressListInfo"
        @get-deptAddressListInfo="getDeptAddressListInfo"
        @get-personInfo="getPersonInfo"
      >
      </selemenuboxCom>

      <!-- css multiple start -->
      <MultiplestartCom
        :waybillNoReultDto="waybillNoReultDto"
        :wayBIllNoLocusList="wayBIllNoLocusList"
        :trackRecordList="trackRecordList"
        :multiplegj="multiplegj"
        :gzjlmultiple="gzjlmultiple"
      >
      </MultiplestartCom>
      <!-- css multiple end -->

      <!--订单查询-->
      <OrderSeachCom :orderInfo="orderInfo">
      </OrderSeachCom>

      <!--通讯录人员-->
      <AddressCom :personInfo="personInfo">
      </AddressCom>

      <!--通讯录部门-->
      <DepartmentCom
        :deptThreeContent="deptThreeContent"
        :personAddressListInfo="personAddressListInfo"
        :deptAddressListInfo="deptAddressListInfo"
      >
      </DepartmentCom>

      <!--查询无结果时-->
      <SeachNullCom :flag="searchNullflag">
      </SeachNullCom>

      <!-- CSS BEGIN -->
      <NavCustomMenuCom>
      </NavCustomMenuCom>
      <!-- CSS END -->
    </nav>
  </header>
</template>

<script>
  import selemenuboxCom from './selemenuboxCom'
  import MultiplestartCom from './MultiplestartCom'
  import OrderSeachCom from './OrderSeachCom'
  import AddressCom from './AddressCom'
  import DepartmentCom from './DepartmentCom'
  import SeachNullCom from './SeachNullCom'
  import NavCustomMenuCom from './NavCustomMenuCom'
    export default {
        name: "header-com",
        data(){
          return {
            searchNullflag:false,
            orderInfo:{},
            waybillNoReultDto:{},
            wayBIllNoLocusList:{},
            trackRecordList:{},
            multiplegj:{},
            gzjlmultiple:{},
            deptThreeContent:{},
            personAddressListInfo:{},
            deptAddressListInfo:{},
            personInfo:{}
          }
        },
        methods:{
          showSearchNull(flag){
            this.searchNullflag = flag;
          },
          getOrderInfo(orderInfo){
            this.orderInfo = orderInfo;
          },
          getWaybillNoReultDto(waybillNoReultDto){
            this.waybillNoReultDto = waybillNoReultDto;
          },
          getWayBIllNoLocusList(wayBIllNoLocusList){
            this.wayBIllNoLocusList = wayBIllNoLocusList;
          },
          getTrackRecordList(trackRecordList){
            this.trackRecordList = trackRecordList;
          },
          getMultiplegj(multiplegj){
            this.multiplegj = multiplegj;
          },
          getGzjlmultiple(gzjlmultiple){
            this.gzjlmultiple = gzjlmultiple;
          },
          getDeptThreeContent(deptThreeContent){
            this.deptThreeContent = deptThreeContent;
          },
          getPersonAddressListInfo(personAddressListInfo){
            this.personAddressListInfo = personAddressListInfo;
          },
          getDeptAddressListInfo(deptAddressListInfo){
            this.deptAddressListInfo = deptAddressListInfo;
          },
          getPersonInfo(personInfo){
            this.personInfo = personInfo;
          }
        },
        components:{
          selemenuboxCom:selemenuboxCom,
          MultiplestartCom:MultiplestartCom,
          OrderSeachCom:OrderSeachCom,
          AddressCom:AddressCom,
          DepartmentCom:DepartmentCom,
          SeachNullCom:SeachNullCom,
          NavCustomMenuCom:NavCustomMenuCom
        }
    }
</script>

<style scoped>

</style>
